package com.etime.yqtsponsor.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etime.yqtsponsor.pojo.Questions;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 在表单或者调查问卷时 查询历史问卷
 */
@Repository
public interface FindHistoryQuestionMapper{
//    @Select("select toupiao.questions.stem,toupiao.questions.metas from toupiao.questions where creatorId=#{creatorId}")
    List<Questions> findHistoryQuestionById(int creatorId);
//    @Param("creatorId")
}
